from random import randint
from superdice.superdice import registerRoll, unregisterRoll

def unload():
    unregisterRoll(diceRoll)

def diceRoll(userid, player, eplayer):
    player.setColor(randint(0, 255), randint(0, 255), randint(0, 255))

registerRoll(diceRoll, 'randomcoloring')
